/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'
const menuRouter = {
      path: '/sysMenu/list',
      component: Layout,
      name: 'sysMenu-list',
      meta: {
        title: '菜单管理',
        icon: 'menu',
        permissions:['sysMenu.query']
      },
      hidden: true,
      children:[
          {
            path: '/sysMenu/list',
            component: () => import('@/views/sysMenu/list'),
            name: 'sysMenu-list',
            meta: { title: '菜单管理',icon: 'menu'
              // ,permissions:['sysMenu.list']
            },
          },
          {
            path: '/sysMenu/add',
            component: () => import('@/views/sysMenu/add'),
            name: 'sysMenu-add',
            meta: { title: '新增菜单', icon: 'menu_sysMenu',
              // permissions:['sysMenu.add']
            },
            hidden: true
          },
          {
            path: '/sysMenu/edit',
            component: () => import('@/views/sysMenu/edit'),
            name: 'sysMenu-edit',
            meta: { title: '修改菜单', icon: 'menu_sysMenu',
              // permissions:['sysMenu.edit']
            },
            hidden: true
          },
      ]
}
export default menuRouter
